package com.wondertek.service.sdk.iotdh.dto.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class InfoRes {
    @Schema(name = "accessKey",description = "developer accessKey 开发人员 accessKey")
    private String accessKey;

    @Schema(name = "productId",description = "产品 Id")
    private String productId;

    @Schema(name = "category",description = "device category 设备类别")
    private String category;

    @Schema(name = "msgType",description = "Alarm Type 报警类型")
    private String msgType;

    @Schema(name = "deviceId",description = "device SN 设备 SN")
    private String deviceId;

    @Schema(name = "channelId",description = "设备通道号，通道报警有此字段，但设备报警没有")
    private Long channelId;

    @Schema(name = "utcTime",description = "闹钟UTC时间戳，精确到毫秒")
    private Long utcTime;

    @Schema(name = "localTime",description = "报警本地时间戳，精确到毫秒")
    private Long localTime;

    @Schema(name = "id",description = "Alarm MessageId 警报 MessageId")
    private Long id;

    @Schema(name = "picUrls",description = "报警图片URL列表")
    private String picUrls;


    @Schema(name = "action",description = "执行操作，包括启动、脉冲和停止。")
    private String action;

    @Schema(name = "reason",description = "超限保护的原因。1：过电压;2：过热;3：过电流;")
    private String reason;


    @Schema(name = "areaId",description = "分区id")
    private Integer areaId;

    @Schema(name = "alarmType",description = "报警类型")
    private String alarmType;

    @Schema(name = "accessoryId",description = "配件sn")
    private String accessoryId;



}
